home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1141 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. Date: Fri, 4 Mar 1994 06:13:56 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: nox@jelal.north.de
  4. In-Reply-To: Juergen Lock's message of Thu, 3 Mar 94 18:55:54 CET <9403031755.AA00133@jelal.north.de>
  5. Subject: mint 1.10: biosfs.c -- bios_getxattr()
  6.  
  7. >From: Juergen Lock <nox@jelal.north.de>
  8. >Nicholas S Castellano writes:
  9. >> In bios_getxattr() it's not a good idea to return the attributes of the
  10. >> file to which a fake device currently is pointing.  Doing so messes
  11. > looks good, except that now the inodes are all equal... :)
  12.  
  13. Oops!
  14.  
  15. Add this and it should solve that problem:
  16.  
  17. --- 1.10.1.4    1994/02/24 15:12:28
  18. +++ biosfs.c    1994/03/04 10:24:08
  19. @@ -380,7 +380,9 @@
  20.              majdev = FAKE_RDEV;
  21.              mindev = ((int)fc->aux) & 0x00ff;
  22.              set_xattr(xattr, S_IFCHR | DEFAULT_MODE, majdev|mindev);
  23. -#ifdef FOLLOW_XATTR_CHAIN
  24. +#ifndef FOLLOW_XATTR_CHAIN
  25. +            xattr->index = fc->index;
  26. +#else
  27.          }
  28.  #endif
  29.      } else if (b->device == &fakedev) {
  30. @@ -394,7 +396,9 @@
  31.              majdev = FAKE_RDEV;
  32.              mindev = ((int)b->private) & 0x00ff;
  33.              set_xattr(xattr, S_IFCHR|DEFAULT_MODE, majdev|mindev);
  34. -#ifdef FOLLOW_XATTR_CHAIN
  35. +#ifndef FOLLOW_XATTR_CHAIN
  36. +            xattr->index = fc->index;
  37. +#else
  38.          }
  39.  #endif
  40.      } else {
  41.  
  42.  
  43. --
  44. entropy -- it's not just a good idea, it's the second law.
  45. Personal mail:      entropy@gnu.ai.mit.edu
  46. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  47. "what do you have against octal?" -jrb
  48.  
  49.